summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
index 05b856e5..b7bf9d15 100644
--- a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
+++ b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
@@ -1,5 +1,5 @@
-import { searchParamsCache } from "@/lib/techsales-rfq/validations"
-import { getTechSalesRfqsWithJoin } from "@/lib/techsales-rfq/service"
+import { searchParamsShipCache } from "@/lib/techsales-rfq/validations"
+import { getTechSalesShipRfqsWithJoin } from "@/lib/techsales-rfq/service"
import { getValidFilters } from "@/lib/data-table"
import { Shell } from "@/components/shell"
import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
@@ -15,13 +15,13 @@ export default async function RfqPage(props: RfqPageProps) {
// searchParams를 await하여 resolve
const searchParams = await props.searchParams
- // 파라미터 파싱
- const search = searchParamsCache.parse(searchParams);
+ // 조선용 파라미터 파싱
+ const search = searchParamsShipCache.parse(searchParams);
const validFilters = getValidFilters(search.filters);
// 기술영업 조선 RFQ 데이터를 Promise.all로 감싸서 전달
const promises = Promise.all([
- getTechSalesRfqsWithJoin({
+ getTechSalesShipRfqsWithJoin({
...search, // 모든 파라미터 전달 (page, perPage, sort, basicFilters, filters 등)
filters: validFilters, // 고급 필터를 명시적으로 오버라이드 (파싱된 버전)
})
@@ -53,7 +53,7 @@ export default async function RfqPage(props: RfqPageProps) {
/>
}
>
- <RFQListTable promises={promises} className="h-full" />
+ <RFQListTable promises={promises} className="h-full" rfqType="SHIP" />
</React.Suspense>
</div>
</Shell>